@themColor: #ff6801;
@bdCommon: 1px solid #fff;
.top-mi-b, .search_demo2, .top-demo3, .pc-head-platform-demo2 {
  .mi-cart{
    display: none;
    position:absolute;
    z-index: 99999;
  }
  .cart_body {
    display: none;
    position: absolute;
    right: -1px;
    top: 40px;
    z-index: 101;
    width: 316px;
    padding: 15px 0 0;
    color: #424242;
    background: #fff;
    border-top: 0;
    -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.17);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.17);
    ul{
      padding: 0 8px;
      max-height: 350px;
      overflow-x: hidden;
      overflow-y: auto;
      li{
        height: 50px;
        width: 298px;
        padding: 10px 0px;
        line-height: 25px;
        &+li{
          border-top: @bdCommon;
        }
        .propic{
          float: left;
          width: 50px;
          height: 50px;
          a{
            display: table-cell;
            width: 50px;
            height: 50px;
            text-align: center;
            vertical-align: middle;
            img{
              max-width: 100%;
              height: auto;
              vertical-align: middle;
            }
          }
        }
        .prodesc{
          float: left;
          height: 50px;
          width: 135px;
          overflow: hidden;
          margin-left: 15px;
          h3{
            font-size: 12px;
            display: -webkit-box;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-box-orient: vertical;
            text-align: left;
            font-weight: 500;
          }
        }
        .buy_num{
          //float:left;
          margin-left: 5px;
          margin-right: 8px;
          text-align: right;
          font-size: 12px;
        }
        .buy_num i{
          font-style: normal;
        }
        a.delete{
          color: inherit;
          &:hover{
            color: @themColor;
          }
        }
      }
    }
  }
  .cart_bottom{
    float:left;
    width: 306px;
    height: 45px;
    padding: 0 0 0 10px;
    line-height: 45px;
    background-color: #fafafa;
    //margin-top: 9px;
    p{
      float: left;
      font-size: 12px;
    }
    .price_all{
      float: right;
      padding: 0 10px;
      color: #e33b3d;
      font-size: 14px;
      //margin-left:75px;
    }
    .jiesuan{
      float: right;
      display: block;
      width: 100px;
      color: #fff;
      text-align: center;
      background-color: #c40001;
      font-size: 16px;
    }
  }
}
.search_demo2 .cart_bottom {
  margin-top: 0;
}
.search_demo2 .price_all {
  margin-left:0;
}